package com.example.dql.diary.Model;

import android.net.Uri;

/**
 * Created by dql on 2018/2/24.
 */

public class PicDTO {

    public PicDTO(Uri uri /*,String imgurl*/ ,boolean isAdd){
        setImg(uri);
        setAdd(isAdd);
//        setImgurl(imgurl);
    }
    private boolean isAdd;
    private Uri img ;
    private String imgurl;

    public boolean isAdd() {
        return isAdd;
    }

    public void setAdd(boolean add) {
        isAdd = add;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public void setImg(Uri img) {
        this.img = img;
    }

    public Uri getImg() {
        return img;
    }
}
